<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>异常上报</title>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
    <script src="../../script/mes-import.js"></script>
    <link rel="stylesheet" href="../../script/js/layui/css/formSelects-v4.css" />
    <script type="text/javascript">
        //全局定义一次, 加载formSelects
        layui.config({
            base: '../../script/js/layui/' //此处路径请自行处理, 可以使用绝对路径
        }).extend({
            formSelects: 'formSelects-v4'
        });
        //加载模块
        layui.use(['jquery', 'formSelects'], function(){
            var formSelects = layui.formSelects;

        });
    </script>
    <script src="../../script/js/layui/layui.all.js"></script>
    <script src="../../script/js/layui/formSelects-v4.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
        var formSelects = layui.formSelects;
    </script>
</head>
<body style="background-color:#fff;"  id="abnormalReport">
<form class="layui-form" action="" lay-filter="myForm">
    <div class="layui-form-item" style="margin-top:10px;">
        <label class="layui-form-label">异常原因</label>
        <div class="layui-input-inline">
            <select lay-verify="required" lay-filter="exception" v-model="exception" id="exception" name="exception">
                <option v-for="item in exceptionList" :value="item.EMES_EXCEPTION_ID" >{{item.NAME}}</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">问题设备</label>
        <div class="layui-input-inline">
            <select lay-verify="required" lay-search="" lay-filter="facilites" v-model="facilites" id="facilites" name="facilites">
                <option v-for="item in deviceList" :value="item.EAM_FACILITIES_ID" >{{item.NAME}}</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">接收人员</label>
        <div class="layui-input-inline">
            <div class="layui-form-item">
                <select xm-select="receiver" xm-select-max="10">
                    <!--<option v-for="item in userList" :value="item.AD_USER_ID">{{item.NAME}}</option>-->
                </select>
            </div>
        </div>
    </div>
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">备注</label>
        <div class="layui-input-block" style="margin-right:10px;">
            <textarea placeholder="请输入内容" maxlength="500" class="layui-textarea" v-model="description"></textarea>
        </div>
    </div>
    <div class="layui-form-item" style="text-align:center">
        <button class="layui-btn"  type="button" @click="submit">提交</button>
        <button type="button" class="layui-btn layui-btn-danger" @click="close">关闭</button>
    </div>
</form>
</body>
<script type="text/javascript" src="js/abnormalReport.js"></script>

</html>